package top.laoshuzi.designpatterns.base.structure.bridge;

import org.junit.Test;

public class Client {

    @Test
    public void operation() {

        FeatureA featureA = new ConcreteFeatureA1();
        FeatureB featureB = new ConcreteFeatureB2();

        AbstractObject object = new ConcreteObject1();
        object.setFeatureA(featureA);
        object.setFeatureB(featureB);

        object.show();
    }
}
